package com.goatrock.media.thisway.common.model;
/**
 *
 * @author Rich
 */
public class Person {
    private String name;
    private String type;
    private String role;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String toString(){
        StringBuilder sb = new StringBuilder();
        sb.append(this.name); sb.append("/");
        sb.append(this.type); sb.append("/");
        if (this.role != null) {
            sb.append(this.role);
        }
        return sb.toString();
    }
}
